package com.nt.oam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 服务器信息对象 ant_server
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntServerMapper.AntServerResult" )
public class AntServer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 服务器信息
     */
    @TableId(value = "server_id" , type = IdType.AUTO)
    private Long serverId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 医院名称
     */
    @Excel(name = "医院名称" )
    private String hospitalName;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称" )
    private String projectName;

    /**
     * 服务器账号
     */
    @Excel(name = "服务器账号" )
    private String serverAccount;

    /**
     * 服务器密码
     */
    @Excel(name = "服务器密码" )
    private String serverPassword;

    /**
     * 堡垒机连接地址
     */
    private String bastionConnectionLocation;

    /**
     * VPN
     */
    @Excel(name = "VPN" )
    private String VPN;

    /**
     * 堡垒机账号
     */
    @Excel(name = "堡垒机账号" )
    private String bastionAccount;

    /**
     * 堡垒机密码
     */
    @Excel(name = "堡垒机密码" )
    private String bastionPassword;

    /**
     * 信息科电话
     */
    private String inforSectionPhone;

    /**
     * 其他连接方式
     */
    private String otherInstallPackage;

    /**
     * 远程桌面地址
     */
    private String remoteDesktopAddress;

    /**
     * 工具安装地址
     */
    private String toolInstallPackage;

    /**
     * FTP服务器设置
     */
    private String ftpServerSet;

    /**
     * 物理空间大小
     */
    private String physicalSpace;

    /**
     * 系统版本
     */
    private String systemVertion;

    /**
     * 内存大小
     */
    private String memorySize;

    /**
     * 盘符情况
     */
    private String driveCase;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    public void setServerId(Long serverId) {
        this.serverId = serverId;
    }

    public Long getServerId() {
        return serverId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setServerAccount(String serverAccount) {
        this.serverAccount = serverAccount;
    }

    public String getServerAccount() {
        return serverAccount;
    }

    public void setServerPassword(String serverPassword) {
        this.serverPassword = serverPassword;
    }

    public String getServerPassword() {
        return serverPassword;
    }

    public void setBastionConnectionLocation(String bastionConnectionLocation) {
        this.bastionConnectionLocation = bastionConnectionLocation;
    }

    public String getBastionConnectionLocation() {
        return bastionConnectionLocation;
    }

    public void setVPN(String VPN) {
        this.VPN = VPN;
    }

    public String getVPN() {
        return VPN;
    }

    public void setBastionAccount(String bastionAccount) {
        this.bastionAccount = bastionAccount;
    }

    public String getBastionAccount() {
        return bastionAccount;
    }

    public void setBastionPassword(String bastionPassword) {
        this.bastionPassword = bastionPassword;
    }

    public String getBastionPassword() {
        return bastionPassword;
    }

    public void setInforSectionPhone(String inforSectionPhone) {
        this.inforSectionPhone = inforSectionPhone;
    }

    public String getInforSectionPhone() {
        return inforSectionPhone;
    }

    public void setOtherInstallPackage(String otherInstallPackage) {
        this.otherInstallPackage = otherInstallPackage;
    }

    public String getOtherInstallPackage() {
        return otherInstallPackage;
    }

    public void setRemoteDesktopAddress(String remoteDesktopAddress) {
        this.remoteDesktopAddress = remoteDesktopAddress;
    }

    public String getRemoteDesktopAddress() {
        return remoteDesktopAddress;
    }

    public void setToolInstallPackage(String toolInstallPackage) {
        this.toolInstallPackage = toolInstallPackage;
    }

    public String getToolInstallPackage() {
        return toolInstallPackage;
    }

    public void setFtpServerSet(String ftpServerSet) {
        this.ftpServerSet = ftpServerSet;
    }

    public String getFtpServerSet() {
        return ftpServerSet;
    }

    public void setPhysicalSpace(String physicalSpace) {
        this.physicalSpace = physicalSpace;
    }

    public String getPhysicalSpace() {
        return physicalSpace;
    }

    public void setSystemVertion(String systemVertion) {
        this.systemVertion = systemVertion;
    }

    public String getSystemVertion() {
        return systemVertion;
    }

    public void setMemorySize(String memorySize) {
        this.memorySize = memorySize;
    }

    public String getMemorySize() {
        return memorySize;
    }

    public void setDriveCase(String driveCase) {
        this.driveCase = driveCase;
    }

    public String getDriveCase() {
        return driveCase;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }
    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("serverId" , getServerId())
                .append("hospitalId" , getHospitalId())
                .append("projectId" , getProjectId())
                .append("hospitalName" , getHospitalName())
                .append("projectName" , getProjectName())
                .append("serverAccount" , getServerAccount())
                .append("serverPassword" , getServerPassword())
                .append("bastionConnectionLocation" , getBastionConnectionLocation())
                .append("VPN" , getVPN())
                .append("bastionAccount" , getBastionAccount())
                .append("bastionPassword" , getBastionPassword())
                .append("inforSectionPhone" , getInforSectionPhone())
                .append("otherInstallPackage" , getOtherInstallPackage())
                .append("remoteDesktopAddress" , getRemoteDesktopAddress())
                .append("toolInstallPackage" , getToolInstallPackage())
                .append("ftpServerSet" , getFtpServerSet())
                .append("physicalSpace" , getPhysicalSpace())
                .append("systemVertion" , getSystemVertion())
                .append("memorySize" , getMemorySize())
                .append("driveCase" , getDriveCase())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .toString();
    }
}
